﻿using SqlSugar;
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 医生评分表
    ///</summary>
    [SugarTable("doctor_score", TableDescription = "医生评分表")]
    public class DoctorScore
    {
        /// <summary>
        /// 主键自增 
        ///</summary>
        [SugarColumn(ColumnName = "ID", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 医生ID 
        ///</summary>
        [SugarColumn(ColumnName = "DoctorID")]
        public int? DoctorID { get; set; }
        /// <summary>
        /// 评分等级（1级—5级） 
        ///</summary>
        [SugarColumn(ColumnName = "Ranking")]
        public string Ranking { get; set; }
        /// <summary>
        /// 评分内容 
        ///</summary>
        [SugarColumn(ColumnName = "RatingContent")]
        public string RatingContent { get; set; }
        /// <summary>
        /// 评分时间 
        ///</summary>
        [SugarColumn(ColumnName = "TimeStamp")]
        public DateTime? TimeStamp { get; set; }
        /// <summary>
        /// 评分状态 
        ///</summary>
        [SugarColumn(ColumnName = "Status")]
        public decimal? Status { get; set; }
        ///// <summary>
        ///// 状态名称 
        /////</summary>
        //[SugarColumn(ColumnName = "StatusName")]
        //public string StatusName {  get; set; }


    }
}
